<template>
    <div class="login-home">
        <div>
            <h3><span>忘记密码</span> <span>注册</span></h3>
            <div class="form">
                <van-field
                    v-model="username"
                    label="用户名"
                    placeholder="请输入用户名"
                />
                <van-field
                    v-model="phone"
                    label="密码"
                    type="password"
                    placeholder="请输入密码"
                />
            </div>
        </div>
    </div>
</template>
<script>
    import { Field, Button } from 'vant';
    export default {
        components: {
            [Field.name]: Field,
            [Button.name]: Button,
        },
        data() {
            return {
                username: '',
                phone: '',
            };
        },

    };
</script>
<style lang="less" rel="stylesheet/less" >
@import './style.less';
</style>
